$(document).ready(function()
{
	function jump(count)
	{
		window.setTimeout(function()
		{
			count--;
			if(count > 0)
			{
				$('#num').attr('innerHTML', count);
				jump(count);
			}
			else
			{
				window.location.href=$("#auto_jump_url").val();
			}
		}, 1000);
	};

	if($("#auto_jump_url").size()>0)
		jump(5);
});